Cancel a context add job
curl --request DELETE \
--url https://platform-backend.getalchemystai.com/api/v1/context/add-async/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"success": true,
"jobId": "job_01HXYZABC",
"status": "cancelled",
"message": "Job cancelled successfully"
}Endpoint examples
Cancel a context add job
Attempts to cancel a context add job by job id.
- If the job is already completed or failed, returns 404.
- If the job is currently running (“active”), returns 409 and cannot be cancelled.
- Only jobs in “waiting” or “delayed” state can be cancelled.
DELETE
/
api
/
v1
/
context
/
add-async
/
{id}
/
cancel
Cancel a context add job
curl --request DELETE \
--url https://platform-backend.getalchemystai.com/api/v1/context/add-async/{id}/cancel \
--header 'Authorization: Bearer <token>'{
"success": true,
"jobId": "job_01HXYZABC",
"status": "cancelled",
"message": "Job cancelled successfully"
}Documentation Index
Fetch the complete documentation index at: https://getalchemystai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Job ID to cancel
⌘I

